﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IStationService
    {
        public StationModel Mending(Station entity);
        public List<StationModel> MendingRange(List<Station> entities);
        //查询所有
        public List<StationModel> GetAllStationModels();
        public List<Station> GetAllStations();
        //根据产线查询
        //根据PLC查询
        public List<StationModel> GetStationsByPlcId(string id);
        //根据producLine查询
        //根据id查询
        public StationModel GetStationsById(string id);

        //增
        public bool AddStation(Station station);
        public bool UpdateStation(Station station);
        public bool DeleteStationById(string id);
        public bool BatchDelWorkStation(List<string> ids);

    }
}
